package com.maixin.code.entity;

import java.util.List;


/**
 * Menus entity. @author MyEclipse Persistence Tools
 */

public class Menus implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer id;
	private String text;
	private String menucode;
	private String url;
	private Integer parentid;
	private String parentname;
	private String leaf;
	private List<Menus> menusList;
	// Constructors

	/** default constructor */
	public Menus() {
	}

	/** full constructor */
//	public Menus(String menuname, String menucode, String actionname,
//			Integer patentid) {
//		this.menuname = menuname;
//		this.menucode = menucode;
//		this.actionname = actionname;
//		this.patentid = patentid;
//	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getMenucode() {
		return this.menucode;
	}

	public void setMenucode(String menucode) {
		this.menucode = menucode;
	}


	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getLeaf() {
		return leaf;
	}

	public void setLeaf(String leaf) {
		this.leaf = leaf;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Integer getParentid() {
		return parentid;
	}

	public void setParentid(Integer parentid) {
		this.parentid = parentid;
	}

	public String getParentname() {
		return parentname;
	}

	public void setParentname(String parentname) {
		this.parentname = parentname;
	}

	public List<Menus> getMenusList() {
		return menusList;
	}

	public void setMenusList(List<Menus> menusList) {
		this.menusList = menusList;
	}

}